package org.example.erp.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.erp.domain.Employee;


public interface EmployeeService extends IService<Employee>{
    Page<Employee> getEmployeeAndRanks(Page<Employee> page, QueryWrapper<Employee> queryWrapper);

    boolean addEmployee(Employee employee);
}
